#include "widget.h"
#include "ui_widget.h"
#include <qtabbar.h>
#include <QDebug>
#include <QTimer>
#include <QRegularExpression>

void Widget::on_pushButtonA202_clicked()
{
    ui->A202->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA203_clicked()
{
    ui->A203->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA201_clicked()
{
    ui->A201->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}


void Widget::on_pushButtonA204_clicked()
{
    ui->A204->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA205_clicked()
{
    ui->A205->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB202_clicked()
{
    ui->B202->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB203_clicked()
{
    ui->B203->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB201_clicked()
{
    ui->B201->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB204_clicked()
{
    ui->B204->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB205_clicked()
{
    ui->B205->show();
    ui->up1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC201_clicked()
{
    ui->C201->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC202_clicked()
{
    ui->C202->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC203_clicked()
{
    ui->C203->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC204_clicked()
{
    ui->C204->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC205_clicked()
{
    ui->C205->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD201_clicked()
{
    ui->D201->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD202_clicked()
{
    ui->D202->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD203_clicked()
{
    ui->D203->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD204_clicked()
{
    ui->D204->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD205_clicked()
{
    ui->D205->show();
    ui->up2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA206_clicked()
{
    ui->A206->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA207_clicked()
{
    ui->A207->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA208_clicked()
{
    ui->A208->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA209_clicked()
{
    ui->A209->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonA210_clicked()
{
    ui->A210->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB206_clicked()
{
    ui->B206->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB207_clicked()
{
    ui->B207->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB208_clicked()
{
    ui->B208->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB209_clicked()
{
    ui->B209->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonB210_clicked()
{
    ui->B210->show();
    ui->down1_2->show();
    ui->right1_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC206_clicked()
{
    ui->C206->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC207_clicked()
{
    ui->C207->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC208_clicked()
{
    ui->C208->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC209_clicked()
{
    ui->C209->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonC210_clicked()
{
    ui->C210->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD206_clicked()
{
    ui->D206->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD207_clicked()
{
    ui->D207->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD208_clicked()
{
    ui->D208->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD209_clicked()
{
    ui->D209->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}

void Widget::on_pushButtonD210_clicked()
{
    ui->D210->show();
    ui->down2_2->show();
    ui->right1_2->show();
    ui->right2_2->show();
    ui->right1->show();
    ui->right2->show();
    ui->right3->show();
    disableButton();

    // Start the timer if it's not already running
    if (!hideTimer->isActive()) {
        hideTimer->start(6000); // 60000毫秒 = 60秒
    }
}
